namespace Sogeti.Guidelines.Examples.Service
{
    public class EchoService : IEchoService
    {
        private readonly IEchoFormatter _formatter;

        public EchoService(IEchoFormatter formatter)
        {
            _formatter = formatter;
        }

        public string EchoThis(string message)
        {
            return _formatter.Format(message);
        }
    }
}